package com.jiawa.wiki.service.impl;


import com.jiawa.wiki.domain.Demo;
import com.jiawa.wiki.mapper.DemoMapper;
import com.jiawa.wiki.service.DemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DemoServiceImpl implements DemoService {
    @Autowired
    private DemoMapper demoMapper;


    @Override
    public void insert(Demo object) {

    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void delete(Long id) {

    }

    @Override
    public void delete(String ids) {

    }

    @Override
    public void update(Demo object) {

    }

    @Override
    public Demo findById(Integer id) {
        return null;
    }

    @Override
    public List<Demo> findAll() {
        return  demoMapper.selectByExample(null);

    }
}
